import request from "../util/request.ts";
import type { User } from "./type/model.ts"


export const login = async (user:User): Promise<any> => await request.post("/login", user)

